
<form class="form-horizontal" id="add_new_attribute" method="POST" action="<?=base_url('attributes/submit_new_attribute')?>" name="add_new_attribute">

    <input type="hidden" value="<?=$group_id?>" name="group_id">

    <fieldset>

        <div class="group">

            <span class="group-title">ATTRIBUT DETAILS</span>             

            <div class="control-group">

                <label class="control-label">Attribute value:</label>

                <div class="controls docs-input-sizes">

                    <select class="span3" name="attribute_type" id="attribute_type" tabindex="1">

                        <option value="0">--Please Select</option>
                        <option value="area">area</option>
                        <option value="distance">distance</option>
                        <option value="descriptive data">descriptive data</option>
                        <option value="numeric">numeric</option>
                        <option value="yes/no">yes/no</option>

                    </select>

                </div>

            </div>        

        </div>

        <div class="group">

            <span class="group-title">NAME</span>             

            <div class="control-group">

                <label class="control-label">Attribute name:</label>

                <div class="controls docs-input-sizes">

                    <div class="descriptive_input">

                        <div class="bgr">

                            <div class="jezikIkona">
                                <span class="iconContainer insertLanguageIcon"></span>
                            </div>

                            <? foreach(config_item('wp_languages') as $key=>$value):?>

                                <div class="naziv"><?=$value?></div>

                                <div class="vrijednost">
                                    <input type="text" class="input-xlarge" name="attribute_name[]" id="attribute_name<?='_'.$key?>" value="" />
                                </div>

                                <?endforeach;?>

                        </div>
                    </div>


                </div>

            </div>        

        </div>

        <div class="group">

            <span class="group-title">OPTIONS</span>             

            <div class="control-group">

                <label class="control-label">Required:</label>

                <div class="controls">

                    <label class="checkbox inline">

                        <input type="checkbox" value="1" name="attribute_required" id="attribute_required" tabindex="3">

                    </label>

                </div>

            </div>        

        </div>

        <div class="status_info"></div> 

    </fieldset>

</form>